package com.jiankangjin.transsystem.vo;

import java.util.List;

public class UpdOrderInfoVo {
	/** 响应状态 */
	private String resp_status;	
	/** Trade 交易记录  */
	private List<Trade> trade;
	/** 显示条数 */
	private int trade_quantity;
	/** 签名 */	
	private String sign;

	private String msg;
	
	public class Trade {
		/** Trade 订单编号 */
		private String order_id;
		/** Trade 订单状态 */
		private String order_status;
		/** Trade 订单金额 */
		private int order_fee;
		/** Trade 订单币种 */
		private String order_currency = "156";
		/** Trade 购买者手机号 */
		private String buyer_cellphone;
		/** Trade 购买者姓名 */
		private String buyer_name;
		/** Trade 订单创建时间 */
		private String order_time;
		/** Trade 操作者编号 */
		private String operator_id;
		/** Trade 操作者姓名 */
		private String operator_name;
		/** Trade 是否提示补全明细 */
		private String is_tip;
		/** Goods 订单详情 */
		private Goods[] detail;
		/** Channel 推荐渠道信息  */
		private Channel[] channel;
		
		public class Goods {
			/** Goods 商品编号 */
			private String id;
			/** Goods 商品名称 */
			private String goods_name;	
			/** Goods 商品数量 */
			private int goods_quantity;	
			/** Goods 商品单价 */
			private int goods_price;	
			/** Goods 商品展示地址 */
			private String goods_url;
			/** Goods 规格 */
			private String std;
			/** Goods 医保类型 */
			private String mI_type;
			/** Goods 明细后补 */
			private String mxhb;
			
			public Goods () {
				
			}
            
			public Goods(String id, String goods_name, int goods_quantity,
					int goods_price, String goods_url, String std,
					String mI_type, String mxhb) {
				super();
				this.id = id;
				this.goods_name = goods_name;
				this.goods_quantity = goods_quantity;
				this.goods_price = goods_price;
				this.goods_url = goods_url;
				this.std = std;
				this.mI_type = mI_type;
				this.mxhb = mxhb;
			}

			/** get  */
			public String getId() {
				return id;
			}

			/** set  */
			public void setId(String id) {
				this.id = id;
			}

			/** get  */
			public String getGoods_name() {
				return goods_name;
			}

			/** set  */
			public void setGoods_name(String goods_name) {
				this.goods_name = goods_name;
			}

			/** get  */
			public int getGoods_quantity() {
				return goods_quantity;
			}

			/** set  */
			public void setGoods_quantity(int goods_quantity) {
				this.goods_quantity = goods_quantity;
			}

			/** get  */
			public int getGoods_price() {
				return goods_price;
			}

			/** set  */
			public void setGoods_price(int goods_price) {
				this.goods_price = goods_price;
			}

			/** get  */
			public String getGoods_url() {
				return goods_url;
			}

			/** set  */
			public void setGoods_url(String goods_url) {
				this.goods_url = goods_url;
			}

			public String getStd() {
				return std;
			}

			public void setStd(String std) {
				this.std = std;
			}

			public String getmI_type() {
				return mI_type;
			}

			public void setmI_type(String mI_type) {
				this.mI_type = mI_type;
			}

			public String getMxhb() {
				return mxhb;
			}

			public void setMxhb(String mxhb) {
				this.mxhb = mxhb;
			}
			
		}//end class Goods
		public class Channel {
			/** Channel 支付交易流水号 */
			private String sub_deal_ssn;
			/** Channel 当前支付交易状态 */
			private String sub_deal_stauts;
			/** Channel 渠道编号 */
			private String channel_id;
			/** Channel 渠道名称 */
			private String channel_name;
			/** Channel 渠道类型 */
			private int channel_type;
			/** Channel 支付金额 */
			private int channel_fee;
			/** Channel 金额币种 */
			private String channel_currency = "156";
			/** Channel 支付渠道类型 */
			private String channel_fee_type;
			
			public Channel () {
				
			}

			public Channel(String sub_deal_ssn, String sub_deal_stauts,
					String channel_id, String channel_name, int channel_type,
					int channel_fee, String channel_currency,
					String channel_fee_type) {
				super();
				this.sub_deal_ssn = sub_deal_ssn;
				this.sub_deal_stauts = sub_deal_stauts;
				this.channel_id = channel_id;
				this.channel_name = channel_name;
				this.channel_type = channel_type;
				this.channel_fee = channel_fee;
				this.channel_currency = channel_currency;
				this.channel_fee_type = channel_fee_type;
			}

			/** get  */
			public String getSub_deal_ssn() {
				return sub_deal_ssn;
			}

			/** set  */
			public void setSub_deal_ssn(String sub_deal_ssn) {
				this.sub_deal_ssn = sub_deal_ssn;
			}

			/** get  */
			public String getSub_deal_stauts() {
				return sub_deal_stauts;
			}

			/** set  */
			public void setSub_deal_stauts(String sub_deal_stauts) {
				this.sub_deal_stauts = sub_deal_stauts;
			}

			/** get  */
			public String getChannel_id() {
				return channel_id;
			}

			/** set  */
			public void setChannel_id(String channel_id) {
				this.channel_id = channel_id;
			}

			/** get  */
			public String getChannel_name() {
				return channel_name;
			}

			/** set  */
			public void setChannel_name(String channel_name) {
				this.channel_name = channel_name;
			}

			/** get  */
			public int getChannel_type() {
				return channel_type;
			}

			/** set  */
			public void setChannel_type(int channel_type) {
				this.channel_type = channel_type;
			}

			/** get  */
			public int getChannel_fee() {
				return channel_fee;
			}

			/** set  */
			public void setChannel_fee(int channel_fee) {
				this.channel_fee = channel_fee;
			}

			/** get  */
			public String getChannel_currency() {
				return channel_currency;
			}

			/** set  */
			public void setChannel_currency(String channel_currency) {
				this.channel_currency = channel_currency;
			}

			/** get  */
			public String getChannel_fee_type() {
				return channel_fee_type;
			}

			/** set  */
			public void setChannel_fee_type(String channel_fee_type) {
				this.channel_fee_type = channel_fee_type;
			}
			
		}//end class Channel
		public Trade() {
			
		}
		public Trade(String order_id, String order_status, int order_fee,
				String order_currency, String buyer_cellphone,
				String buyer_name, String order_time, String operator_id,
				String operator_name, String is_tip, Goods[] detail,
				Channel[] channel) {
			super();
			this.order_id = order_id;
			this.order_status = order_status;
			this.order_fee = order_fee;
			this.order_currency = order_currency;
			this.buyer_cellphone = buyer_cellphone;
			this.buyer_name = buyer_name;
			this.order_time = order_time;
			this.operator_id = operator_id;
			this.operator_name = operator_name;
			this.is_tip = is_tip;
			this.detail = detail;
			this.channel = channel;
		}
		/** get  */
		public String getOrder_id() {
			return order_id;
		}
		/** set  */
		public void setOrder_id(String order_id) {
			this.order_id = order_id;
		}
		/** get  */
		public String getOrder_status() {
			return order_status;
		}
		/** set  */
		public void setOrder_status(String order_status) {
			this.order_status = order_status;
		}
		/** get  */
		public int getOrder_fee() {
			return order_fee;
		}
		/** set  */
		public void setOrder_fee(int order_fee) {
			this.order_fee = order_fee;
		}
		/** get  */
		public String getOrder_currency() {
			return order_currency;
		}
		/** set  */
		public void setOrder_currency(String order_currency) {
			this.order_currency = order_currency;
		}
		/** get  */
		public String getBuyer_cellphone() {
			return buyer_cellphone;
		}
		/** set  */
		public void setBuyer_cellphone(String buyer_cellphone) {
			this.buyer_cellphone = buyer_cellphone;
		}
		/** get  */
		public String getBuyer_name() {
			return buyer_name;
		}
		/** set  */
		public void setBuyer_name(String buyer_name) {
			this.buyer_name = buyer_name;
		}
		/** get  */
		public String getOrder_time() {
			return order_time;
		}
		/** set  */
		public void setOrder_time(String order_time) {
			this.order_time = order_time;
		}
		/** get  */
		public String getOperator_id() {
			return operator_id;
		}
		/** set  */
		public void setOperator_id(String operator_id) {
			this.operator_id = operator_id;
		}
		/** get  */
		public String getOperator_name() {
			return operator_name;
		}
		/** set  */
		public void setOperator_name(String operator_name) {
			this.operator_name = operator_name;
		}
		/** get  */
		public String getIs_tip() {
			return is_tip;
		}
		/** set  */
		public void setIs_tip(String is_tip) {
			this.is_tip = is_tip;
		}
		/** get  */
		public Goods[] getDetail() {
			return detail;
		}
		public void setDetail(Goods[] detail) {
			this.detail = detail;
		}
		public Channel[] getChannel() {
			return channel;
		}
		public void setChannel(Channel[] channel) {
			this.channel = channel;
		}
		
	
	}//end class Trade
	
	public UpdOrderInfoVo () {
		
	}


	/**
	 * @param resp_status
	 * @param trade
	 * @param trade_quantity
	 * @param sign
	 * @param msg
	 */
	public UpdOrderInfoVo(String resp_status, List<Trade> trade,
			int trade_quantity, String sign, String msg) {
		super();
		this.resp_status = resp_status;
		this.trade = trade;
		this.trade_quantity = trade_quantity;
		this.sign = sign;
		this.msg = msg;
	}


	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	/** get  */
	public String getResp_status() {
		return resp_status;
	}

	/** set  */
	public void setResp_status(String resp_status) {
		this.resp_status = resp_status;
	}

	/** get  */
	public List<Trade> getTrade() {
		return trade;
	}

	/** set  */
	public void setTrade(List<Trade> trade) {
		this.trade = trade;
	}

	/** get  */
	public int getTrade_quantity() {
		return trade_quantity;
	}

	/** set  */
	public void setTrade_quantity(int trade_quantity) {
		this.trade_quantity = trade_quantity;
	}

	/** get  */
	public String getSign() {
		return sign;
	}

	/** set  */
	public void setSign(String sign) {
		this.sign = sign;
	}
	
}
